﻿using PHMEE.Constants;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE.EnergyEfficiency
{
    /// <summary>
    /// 流量计的油耗数据
    /// </summary>
    public class MassFlowmeter
    {
        /// <summary>
        /// 具体哪个流量及名称--例:fm_001
        /// </summary>
        public string FmName { get; set; }
        /// <summary>
        /// 时间戳
        /// </summary>
        public DateTime? Timestamp { get; set; }
        /// <summary>
        /// 瞬时油耗
        /// </summary>
        public float? Instant { get; set; }
        /// <summary>
        /// 分钟油耗 
        /// </summary>
        public float? OilValue { get; set; }
        /// <summary>
        /// 流量计显示的总油耗
        /// </summary>
        public float? TotalValue { get; set; }
        /// <summary>
        /// 温度
        /// </summary>
        public float? Temperature { get; set; }
        /// <summary>
        /// 密度
        /// </summary>
        public float? Density { get; set; }
        /// <summary>
        /// 油品
        /// </summary>
        public FuelType? FuelType { get; set; }
    }
    /// <summary>
    /// 设备燃油数据
    /// </summary>
    public class DeviceFuelConsumption
    {
        /// <summary>
        /// 设备名称
        /// </summary>
        public DeviceFuelEnum DeviceName { get; set; }
        /// <summary>
        /// 最新数据时间戳
        /// </summary>
        public DateTime? Timestamp { get; set; }
        /// <summary>
        /// 瞬时油耗
        /// </summary>
        public float? Instant { get; set; }
        /// <summary>
        /// 当天累计消耗总量
        /// </summary>
        public float? DayOilValue { get; set; }
        /// <summary>
        /// 累计和油耗
        /// </summary>
        public float? SumOilValue { get; set; }

        /// <summary>
        /// 流量计显示的总油耗
        /// </summary>
        public float? TotalValue { get; set; }

        /// <summary>
        /// 温度
        /// </summary>
        public float? Temperature { get; set; }

        /// <summary>
        /// 密度
        /// </summary>
        public float? Density { get; set; }

        /// <summary>
        /// 油品
        /// </summary>
        public FuelType? FuelType { get; set; }
    }
}
